package cn.school.sys.dao;

import cn.school.sys.entity.SysTenantInfo;
import cn.school.sys.vo.SysTenantInfoVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface SysTenantInfoDao extends BaseMapper<SysTenantInfo> {

    int findPageCount(@Param("vo")SysTenantInfoVo vo);

    List<SysTenantInfo> findPageList(@Param("startNum") int startNum,
                                     @Param("pageSize") Integer pageSize,
                                     @Param("vo") SysTenantInfoVo vo);
}
